package cn.jzq.kotoba.modules.designpattern.strategy.charge.demo;

import cn.jzq.kotoba.modules.designpattern.strategy.charge.ChargeTypeEnum;

/**
 * 充值策略接口
 */
public interface Strategy {
    /**
     * 计算费用
     * @param charge
     * @param type
     * @return
     */
    Double calCharge(Double charge , ChargeTypeEnum type );
}